package com.isdepci.project.carbon.service;

import com.isdepci.project.carbon.domain.GreenCertificateManagement;
import com.isdepci.project.carbon.domain.StationInfo;

import java.util.List;

/**
 * 绿证管理Service接口
 *
 * @author isdepci
 * @date 2023-05-19
 */
public interface IGreenCertificateManagementService {
    /**
     * 查询
     * @param id 绿证管理ID
     * @return 绿证管理
     */
     GreenCertificateManagement selectGreenCertificateManagementById(Long id);

    /**
     * 查询列表
     * @param greenCertificateManagement 绿证管理
     * @return list
     */
     List<GreenCertificateManagement> selectGreenCertificateManagementList(GreenCertificateManagement greenCertificateManagement);

    /**
     * 新增
     * @param greenCertificateManagement 绿证管理
     * @return 结果
     */
     int insertGreenCertificateManagement(GreenCertificateManagement greenCertificateManagement);

    /**
     * 修改
     * @param greenCertificateManagement 绿证管理
     * @return 结果
     */
     int updateGreenCertificateManagement(GreenCertificateManagement greenCertificateManagement);


    /**
     * 批量删除
     * @param ids 需要删除的数据ID
     * @return 结果
     */
     int deleteGreenCertificateManagementByIds(Long[] ids);

    /**
     * 删除
     * @param id 绿证管理ID
     * @return 结果
     */
     int deleteGreenCertificateManagementById(Long id);

    List<StationInfo> selectStationInfoDict();
}
